#ifndef PSD_TRACEROUTE_H
#define PSD_TRACEROUTE_H

/*
 * int psd_traceroute_init(const char *filename, int max_ttl, int max_timeout);
 *     Initializes the traceroute subsystem specifying the maxim time to live
 *     and the maximum duration pause.
 */
int psd_traceroute_init(const char *filename, const char *traceroute_path, int max_ttl, int max_timeout);

const char *psd_traceroute_lookup(const char *dest_host);

/*
 * int psd_traceroute_lookup_path(const char *dest_host, char ***ret_ips, int *ret_ips_len);
 *     Runs traceroute and returns the IPs along the path.
 */
int psd_traceroute_lookup_path(const char *dest_host, char ***ret_ips, int *ret_ips_len);

#endif
